package com.byx.chatserver.service;

import com.byx.chatserver.entity.Friend;
import com.byx.chatserver.entity.SimpleFriend;
import com.byx.chatserver.entity.User;
import com.byx.chatserver.vo.FriendParam;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * IFriendService
 * 实现好友相关业务逻辑
 * @author Superb
 * @date 2021/4/30 21:45
 */
public interface IFriendService {

    void addFriend(FriendParam friendParam);

    void deleteFriend(Long userId,Long friendId);

    void modifyFriend(FriendParam friendParam);

    List<SimpleFriend> getAllFriends(Long loginId);

    Friend getFriendDetailInfo(Long loginId,Long friendLoginId);

    void changeFriendRemark(Long userId,Long friendId,String remark);

    Friend getFriendDetailInfoByLoginId(Long userId, String friendId);
}
